object UnityMusteriSiparisListesiF: TUnityMusteriSiparisListesiF
  Left = 109
  Top = 86
  Width = 983
  Height = 591
  Caption = 'Unity Verilen Sipari'#351'ler'
  Color = clBtnFace
  Font.Charset = TURKISH_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Arial'
  Font.Style = []
  KeyPreview = True
  OldCreateOrder = False
  Position = poDefaultPosOnly
  OnClose = FormClose
  OnKeyDown = FormKeyDown
  OnKeyPress = FormKeyPress
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 14
  object Splitter2: TSplitter
    Left = 0
    Top = 221
    Width = 975
    Height = 3
    Cursor = crVSplit
    Align = alTop
    Beveled = True
  end
  object Grid1: TwwDBGrid
    Left = 0
    Top = 224
    Width = 975
    Height = 306
    DisableThemes = False
    ControlType.Strings = (
      'durum;CustomEdit;durumuk;T'
      'selected;CheckBox;True;False'
      'sec;CheckBox;True;False'
      'altdurum;CustomEdit;altdurumg;F'
      'faturadurum;CustomEdit;faturadurumk;T'
      'GrupId;CustomEdit;lcEksikParca;T')
    Selected.Strings = (
      'siparisno'#9'8'#9'Sipari'#351' No'#9#9
      'tarih'#9'10'#9'Sipari'#351' Tarih'#9#9
      'onaytarihi'#9'9'#9'Onay Tarihi'#9#9
      'firmaadi'#9'35'#9'Firma Ad'#305#9'F'
      'aciklama'#9'40'#9'A'#231#305'klama'#9'F'
      'Bekleme'#9'15'#9'Bekleme Nedeni'#9'F'
      'GrupId'#9'15'#9'Eksik Par'#231'a'#9'F'
      'durum'#9'13'#9'Sip.Durum'#9'F'
      'faturadurum'#9'13'#9'Fat.Durum'#9'F'
      'gonderibilgisi'#9'50'#9'G'#246'nderi Bilgisi'#9'F')
    IniAttributes.Delimiter = ';;'
    TitleColor = clBtnFace
    FixedCols = 0
    ShowHorzScrollBar = True
    Align = alClient
    DataSource = SiparisListeS
    Font.Charset = TURKISH_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'Arial'
    Font.Style = []
    KeyOptions = []
    Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit, dgWordWrap]
    ParentFont = False
    PopupMenu = SiparisPopup
    TabOrder = 0
    TitleAlignment = taLeftJustify
    TitleFont.Charset = TURKISH_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'Arial'
    TitleFont.Style = []
    TitleLines = 1
    TitleButtons = True
    UseTFields = False
    OnCalcCellColors = Grid1CalcCellColors
    OnCalcTitleAttributes = Grid1CalcTitleAttributes
    OnTitleButtonClick = Grid1TitleButtonClick
    OnKeyDown = Grid1KeyDown
    OnKeyPress = Grid1KeyPress
    PaintOptions.AlternatingRowColor = 16250871
  end
  object Panel1: TPanel
    Left = 0
    Top = 530
    Width = 975
    Height = 34
    Align = alBottom
    BevelOuter = bvNone
    TabOrder = 1
    DesignSize = (
      975
      34)
    object Label5: TLabel
      Left = 699
      Top = 9
      Width = 41
      Height = 14
      Caption = 'Sevkiyat'
      Transparent = True
    end
    object Label2: TLabel
      Left = 279
      Top = 10
      Width = 69
      Height = 14
      Caption = 'Sipari'#351' Filitresi'
      Transparent = True
    end
    object Label11: TLabel
      Left = 486
      Top = 10
      Width = 70
      Height = 14
      Caption = 'Fatura  Filitresi'
      Transparent = True
    end
    object blistele: TBitBtn
      Left = 8
      Top = 5
      Width = 97
      Height = 25
      Caption = 'Liste Yenile - F5'
      TabOrder = 1
      OnClick = blisteleClick
    end
    object bkapat: TBitBtn
      Left = 889
      Top = 6
      Width = 79
      Height = 25
      Anchors = [akTop]
      Caption = 'Kapat'
      TabOrder = 2
      OnClick = bkapatClick
    end
    object sevkiyatk: TwwDBComboBox
      Left = 744
      Top = 6
      Width = 105
      Height = 22
      ShowButton = True
      Style = csDropDownList
      MapList = True
      AllowClearKey = True
      AutoDropDown = True
      DropDownCount = 8
      ItemHeight = 0
      Items.Strings = (
        'T'#252'm'#252#9'H'
        #304'stanbul '#304#231'i'#9'1'
        #304'stanbul D'#305#351#305#9'2')
      Sorted = False
      TabOrder = 3
      UnboundDataType = wwDefault
      OnCloseUp = sevkiyatkCloseUp
    end
    object bsiparisac: TBitBtn
      Left = 110
      Top = 5
      Width = 65
      Height = 25
      Caption = 'Sipari'#351' A'#231
      TabOrder = 0
      Visible = False
      OnClick = bsiparisacClick
    end
    object SiparisFiltresik: TwwDBComboBox
      Left = 354
      Top = 7
      Width = 123
      Height = 22
      ShowButton = True
      Style = csDropDownList
      MapList = True
      AllowClearKey = True
      AutoDropDown = True
      DropDownCount = 8
      ItemHeight = 0
      Items.Strings = (
        #304#351'lemi Bitmeyenler'#9'1'
        #304#351'lemi Bitenler'#9'2'
        'Hepsi'#9'H')
      Sorted = False
      TabOrder = 4
      UnboundDataType = wwDefault
      OnCloseUp = SiparisFiltresikCloseUp
    end
    object FaturaFilitresik: TwwDBComboBox
      Left = 561
      Top = 6
      Width = 131
      Height = 22
      ShowButton = True
      Style = csDropDownList
      MapList = True
      AllowClearKey = True
      AutoDropDown = True
      DropDownCount = 8
      ItemHeight = 0
      Items.Strings = (
        'Faturalanmayanlar'#9'1'
        'Faturalananlar'#9'2'
        'Faturalan'#305'p Gitmeyenler'#9'3'
        'Hepsi'#9'H')
      Sorted = False
      TabOrder = 5
      UnboundDataType = wwDefault
      OnChange = FaturaFilitresikChange
    end
    object btTumListe: TBitBtn
      Left = 181
      Top = 6
      Width = 77
      Height = 25
      Caption = 'T'#252'm Liste'
      TabOrder = 6
      Visible = False
      OnClick = btTumListeClick
    end
  end
  object durumuk: TwwDBComboBox
    Left = 686
    Top = 307
    Width = 82
    Height = 22
    ShowButton = True
    Style = csDropDown
    MapList = True
    AllowClearKey = False
    DropDownCount = 8
    ItemHeight = 0
    Items.Strings = (
      'Sipari'#351' Planlama'#9'1'
      'K'#305'sm'#305' Beklemede'#9'2'
      'Beklemede'#9'3'
      'Planland'#305#9'4'
      'Sevk Edildi'#9'5'
      'Teslim Edildi'#9'6')
    Sorted = False
    TabOrder = 2
    UnboundDataType = wwDefault
  end
  object PanelListele: TPanel
    Left = 0
    Top = 0
    Width = 975
    Height = 93
    Align = alTop
    BevelOuter = bvNone
    TabOrder = 3
    object Bevel3: TBevel
      Left = 3
      Top = 4
      Width = 430
      Height = 84
      Shape = bsFrame
    end
    object Bevel4: TBevel
      Left = 625
      Top = 4
      Width = 257
      Height = 83
      Shape = bsFrame
    end
    object Bevel1: TBevel
      Left = 438
      Top = 4
      Width = 184
      Height = 84
      Shape = bsFrame
    end
    object Label3: TLabel
      Left = 217
      Top = 16
      Width = 34
      Height = 14
      Caption = 'Filitre 1'
      Font.Charset = TURKISH_CHARSET
      Font.Color = clBlack
      Font.Height = -11
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
      Transparent = True
    end
    object Label6: TLabel
      Left = 8
      Top = 65
      Width = 49
      Height = 14
      Caption = 'Stok Kodu'
      Font.Charset = TURKISH_CHARSET
      Font.Color = clBlack
      Font.Height = -11
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
      Transparent = True
    end
    object Label14: TLabel
      Left = 444
      Top = 58
      Width = 48
      Height = 14
      Caption = 'Biti'#351' Tarihi'
      Font.Charset = TURKISH_CHARSET
      Font.Color = clBlack
      Font.Height = -11
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
      Transparent = True
    end
    object Label15: TLabel
      Left = 444
      Top = 35
      Width = 47
      Height = 14
      Caption = 'Ba'#351'.Tarihi'
      Font.Charset = TURKISH_CHARSET
      Font.Color = clBlack
      Font.Height = -11
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
      Transparent = True
    end
    object SpeedButton2: TSpeedButton
      Left = 888
      Top = 5
      Width = 81
      Height = 22
      Caption = 'B'#246'l'#252'm Kapat'
      OnClick = SpeedButton2Click
    end
    object bayrintiac: TSpeedButton
      Left = 888
      Top = 32
      Width = 81
      Height = 22
      Caption = 'Ayr'#305'nt'#305'y'#305' A'#231
      Visible = False
      OnClick = bayrintiacClick
    end
    object Bevel2: TBevel
      Left = 0
      Top = 86
      Width = 975
      Height = 7
      Align = alBottom
      Shape = bsBottomLine
    end
    object Label1: TLabel
      Left = 8
      Top = 18
      Width = 45
      Height = 14
      Caption = 'Temsilcisi'
      Font.Charset = TURKISH_CHARSET
      Font.Color = clBlack
      Font.Height = -11
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
      Transparent = True
    end
    object Label4: TLabel
      Left = 8
      Top = 41
      Width = 44
      Height = 14
      Caption = 'Firma Ad'#305
      Font.Charset = TURKISH_CHARSET
      Font.Color = clBlack
      Font.Height = -11
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
      Transparent = True
    end
    object Label7: TLabel
      Left = 217
      Top = 37
      Width = 57
      Height = 14
      Caption = 'B'#246'l'#252'm Kodu'
      Transparent = True
    end
    object Label10: TLabel
      Left = 633
      Top = 15
      Width = 49
      Height = 14
      Caption = 'Stok Kodu'
      Font.Charset = TURKISH_CHARSET
      Font.Color = clBlack
      Font.Height = -11
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
      Transparent = True
    end
    object Label12: TLabel
      Left = 633
      Top = 39
      Width = 47
      Height = 14
      Caption = 'Cari Kodu'
      Font.Charset = TURKISH_CHARSET
      Font.Color = clBlack
      Font.Height = -11
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
      Transparent = True
    end
    object Label17: TLabel
      Left = 633
      Top = 63
      Width = 44
      Height = 14
      Caption = 'Firma Ad'#305
      Font.Charset = TURKISH_CHARSET
      Font.Color = clBlack
      Font.Height = -11
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
      Transparent = True
    end
    object filtre2k: TwwDBLookupCombo
      Left = 62
      Top = 58
      Width = 147
      Height = 22
      Font.Charset = TURKISH_CHARSET
      Font.Color = clBlack
      Font.Height = -11
      Font.Name = 'Arial'
      Font.Style = []
      DisableThemes = False
      DropDownAlignment = taLeftJustify
      Selected.Strings = (
        'stokkodu'#9'20'#9'Stok Kodu'#9'F')
      LookupTable = Stok
      LookupField = 'stokkod'
      Style = csDropDownList
      Navigator = False
      ParentFont = False
      TabOrder = 2
      AutoDropDown = True
      ShowButton = True
      AllowClearKey = True
      ShowMatchText = True
      OnEnter = filtre2kEnter
    end
    object BitTar: TwwDBDateTimePicker
      Left = 501
      Top = 55
      Width = 116
      Height = 22
      CalendarAttributes.Font.Charset = DEFAULT_CHARSET
      CalendarAttributes.Font.Color = clWindowText
      CalendarAttributes.Font.Height = -11
      CalendarAttributes.Font.Name = 'MS Sans Serif'
      CalendarAttributes.Font.Style = []
      Epoch = 1950
      Font.Charset = TURKISH_CHARSET
      Font.Color = clBlack
      Font.Height = -11
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
      ShowButton = True
      TabOrder = 5
      DisplayFormat = 'dd.mm.yyyy'
    end
    object basTar: TwwDBDateTimePicker
      Left = 501
      Top = 31
      Width = 116
      Height = 22
      CalendarAttributes.Font.Charset = DEFAULT_CHARSET
      CalendarAttributes.Font.Color = clWindowText
      CalendarAttributes.Font.Height = -11
      CalendarAttributes.Font.Name = 'MS Sans Serif'
      CalendarAttributes.Font.Style = []
      Epoch = 1950
      Font.Charset = TURKISH_CHARSET
      Font.Color = clBlack
      Font.Height = -11
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
      ShowButton = True
      TabOrder = 6
      UnboundDataType = wwDTEdtDate
      DisplayFormat = 'dd.mm.yyyy'
    end
    object aktifk: TRadioButton
      Left = 443
      Top = 12
      Width = 49
      Height = 17
      Caption = 'Aktif'
      Checked = True
      TabOrder = 7
      TabStop = True
      OnClick = aktifkClick
    end
    object pasifk: TRadioButton
      Left = 490
      Top = 12
      Width = 49
      Height = 17
      Caption = 'Pasif'
      TabOrder = 8
      OnClick = pasifkClick
    end
    object TemsilcisiK: TwwDBLookupCombo
      Left = 62
      Top = 11
      Width = 147
      Height = 22
      DisableThemes = False
      DropDownAlignment = taLeftJustify
      Selected.Strings = (
        'kodu'#9'10'#9'Kodu'#9'F'
        'adi'#9'30'#9'Ad'#305#9'F')
      LookupTable = dm.spCaYetkili
      LookupField = 'kodu'
      Style = csDropDownList
      Navigator = False
      TabOrder = 0
      AutoDropDown = True
      ShowButton = True
      UseTFields = False
      AllowClearKey = True
    end
    object CariKoduk: TwwDBLookupCombo
      Left = 62
      Top = 34
      Width = 147
      Height = 22
      Font.Charset = TURKISH_CHARSET
      Font.Color = clBlack
      Font.Height = -11
      Font.Name = 'Arial'
      Font.Style = []
      DisableThemes = False
      DropDownAlignment = taLeftJustify
      Selected.Strings = (
        'firmaadi'#9'50'#9'Firma Ad'#305#9'F'
        'carikodu'#9'20'#9'Cari Kodu'#9'F')
      LookupTable = Cari
      LookupField = 'carikod'
      Style = csDropDownList
      Navigator = False
      ParentFont = False
      TabOrder = 1
      AutoDropDown = True
      ShowButton = True
      UseTFields = False
      AllowClearKey = True
      ShowMatchText = True
    end
    object bolumkoduk: TwwDBComboBox
      Left = 277
      Top = 35
      Width = 147
      Height = 22
      ShowButton = True
      Style = csDropDownList
      MapList = True
      AllowClearKey = True
      AutoDropDown = True
      DropDownCount = 8
      ItemHeight = 0
      Items.Strings = (
        #220'retim'#9'U'
        'Merkez'#9'M'
        'Ma'#287'aza'#9'Z'
        'T'#252'm'#252#9)
      Sorted = False
      TabOrder = 4
      UnboundDataType = wwDefault
    end
    object Stokkoduk: TEdit
      Left = 691
      Top = 9
      Width = 130
      Height = 23
      AutoSize = False
      TabOrder = 9
    end
    object carikodu2k: TEdit
      Left = 691
      Top = 33
      Width = 130
      Height = 23
      AutoSize = False
      TabOrder = 10
    end
    object firmaadik: TEdit
      Left = 691
      Top = 58
      Width = 183
      Height = 23
      AutoSize = False
      TabOrder = 11
    end
    object lcTur: TwwDBLookupCombo
      Left = 277
      Top = 12
      Width = 147
      Height = 22
      Font.Charset = TURKISH_CHARSET
      Font.Color = clBlack
      Font.Height = -11
      Font.Name = 'Arial'
      Font.Style = []
      DisableThemes = False
      DropDownAlignment = taLeftJustify
      Selected.Strings = (
        'Baslik'#9'20'#9'Baslik'#9'F')
      LookupTable = adoTur
      LookupField = 'Ref'
      Style = csDropDownList
      Color = clWhite
      Navigator = False
      ParentFont = False
      TabOrder = 3
      AutoDropDown = True
      ShowButton = True
      UseTFields = False
      AllowClearKey = True
      ShowMatchText = True
    end
    object cbFaturaTarih: TwwCheckBox
      Left = 537
      Top = 12
      Width = 77
      Height = 17
      DisableThemes = False
      AlwaysTransparent = False
      ValueChecked = 'True'
      ValueUnchecked = 'False'
      DisplayValueChecked = 'True'
      DisplayValueUnchecked = 'False'
      NullAndBlankState = cbUnchecked
      Caption = 'Fatura Tarihi'
      TabOrder = 12
    end
  end
  object PanelAyrinti: TPanel
    Left = 0
    Top = 93
    Width = 975
    Height = 128
    Align = alTop
    BevelOuter = bvNone
    TabOrder = 4
    object SpeedButton1: TSpeedButton
      Left = 888
      Top = 13
      Width = 81
      Height = 22
      Caption = 'B'#246'l'#252'm Kapat'
    end
    object baramayiac: TSpeedButton
      Left = 888
      Top = 40
      Width = 81
      Height = 22
      Caption = 'Aramay'#305' A'#231
      Visible = False
    end
    object Splitter1: TSplitter
      Left = 0
      Top = 129
      Width = 975
      Height = 3
      Cursor = crVSplit
      Align = alTop
    end
    object durumk: TwwDBComboBox
      Left = 456
      Top = 53
      Width = 89
      Height = 22
      ShowButton = True
      Style = csDropDown
      MapList = True
      AllowClearKey = False
      DropDownCount = 8
      ItemHeight = 0
      Items.Strings = (
        'Listeye Aktar'#305'lacak'#9'1'
        'Listeye Aktar'#305'ld'#305#9'2'
        'Beklemeye Al'#305'nd'#305#9'3'
        'Makineye Tak'#305'ld'#305#9'4'
        'Oem Verildi'#9'5'
        #304#351'lem Yap'#305'lmayacak'#9'6')
      Sorted = False
      TabOrder = 0
      UnboundDataType = wwDefault
    end
    object Panel2: TPanel
      Left = 0
      Top = 0
      Width = 975
      Height = 129
      Align = alTop
      BevelOuter = bvNone
      TabOrder = 1
      object Splitter3: TSplitter
        Left = 0
        Top = 0
        Width = 975
        Height = 3
        Cursor = crVSplit
        Align = alTop
      end
      object wwDBGrid2: TwwDBGrid
        Left = 0
        Top = 3
        Width = 620
        Height = 126
        DisableThemes = False
        ControlType.Strings = (
          'durum;CustomEdit;DurumHark;F'
          'stoktanmiverilecek;CustomEdit;Stokmuk;T')
        Selected.Strings = (
          'stokkodu'#9'20'#9'Stok Kodu'#9#9
          'cinsi'#9'40'#9'Cinsi'#9'F'
          'miktar'#9'5'#9'Miktar'#9#9
          'durum'#9'17'#9'H.Durumu'#9'F'#9
          'stoktanmiverilecek'#9'5'#9'Stok'#9'F'
          'emirno'#9'6'#9'Emir No'#9'F')
        IniAttributes.Delimiter = ';;'
        TitleColor = clBtnFace
        FixedCols = 0
        ShowHorzScrollBar = True
        Align = alLeft
        Color = clInfoBk
        Ctl3D = True
        DataSource = SiparisHarS
        KeyOptions = [dgEnterToTab]
        Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit, dgWordWrap]
        ParentCtl3D = False
        PopupMenu = SiparisHarPopup
        TabOrder = 0
        TitleAlignment = taLeftJustify
        TitleFont.Charset = TURKISH_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -11
        TitleFont.Name = 'Arial'
        TitleFont.Style = []
        TitleLines = 1
        TitleButtons = False
        UseTFields = False
        OnCalcCellColors = wwDBGrid2CalcCellColors
        PaintOptions.AlternatingRowColor = 16310998
      end
      object DurumHark: TwwDBComboBox
        Left = 456
        Top = 53
        Width = 65
        Height = 22
        ShowButton = True
        Style = csDropDown
        MapList = True
        AllowClearKey = False
        DropDownCount = 8
        ItemHeight = 0
        Items.Strings = (
          'Sipari'#351' Planlama'#9'1'
          'Planland'#305#9'2'
          'Beklemeye Al'#305'nd'#305#9'3')
        Sorted = False
        TabOrder = 1
        UnboundDataType = wwDefault
      end
      object SiparisDurumYazK: TStaticText
        Left = 626
        Top = 5
        Width = 346
        Height = 28
        Alignment = taCenter
        AutoSize = False
        Caption = 'Sipari'#351' Durumu'
        Font.Charset = TURKISH_CHARSET
        Font.Color = clRed
        Font.Height = -21
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 2
        Transparent = False
      end
      object Stokmuk: TwwDBComboBox
        Left = 528
        Top = 53
        Width = 34
        Height = 22
        ShowButton = True
        Style = csDropDown
        MapList = True
        AllowClearKey = False
        DropDownCount = 8
        ItemHeight = 0
        Items.Strings = (
          'S'#9'True')
        Sorted = False
        TabOrder = 3
        UnboundDataType = wwDefault
      end
      object SiparisAltDurumYazK: TStaticText
        Left = 625
        Top = 34
        Width = 347
        Height = 86
        AutoSize = False
        Caption = 'Sipari'#351' Ayr'#305'nt'#305' :'
        Font.Charset = TURKISH_CHARSET
        Font.Color = clNavy
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 4
        Transparent = False
      end
    end
  end
  object faturadurumk: TwwDBComboBox
    Left = 736
    Top = 272
    Width = 82
    Height = 22
    ShowButton = True
    Style = csDropDown
    MapList = True
    AllowClearKey = False
    DropDownCount = 8
    ItemHeight = 0
    Items.Strings = (
      'Faturaland'#305#9'1'
      'Devam Ediyor'#9'2'
      'Okutuldu'#9'3')
    Sorted = False
    TabOrder = 5
    UnboundDataType = wwDefault
  end
  object lcEksikParca: TwwDBLookupCombo
    Left = 707
    Top = 388
    Width = 94
    Height = 22
    DisableThemes = False
    DropDownAlignment = taLeftJustify
    Selected.Strings = (
      'isim'#9'25'#9'isim'#9'F')
    LookupTable = dm.aqGrup
    LookupField = 'id'
    Navigator = False
    TabOrder = 6
    AutoDropDown = True
    ShowButton = True
    UseTFields = False
    AllowClearKey = True
  end
  object SiparisListe: TADOQuery
    Connection = dm.connect
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    AfterScroll = SiparisListeAfterScroll
    Parameters = <>
    SQL.Strings = (
      
        'select top 10  carikodu=(select top 1 carikodu from cari where c' +
        'ari.carikod=unity_siparis_2006.carikod),'
      
        '       firmaadi=(select top 1 firmaadi from cari where cari.cari' +
        'kod=unity_siparis_2006.carikod),'
      
        '       faturadurum=isnull((select top 1 durum from fatura where ' +
        'fatura.belgeno=unity_siparis_2006.siparisno),0),'
      '*,123 GrupId,'#39'dfewfewf'#39' Bekleme'
      ' from unity_siparis_2006'
      'where durum is not null and durum<>'#39'2'#39
      'order by onaytarihi')
    Left = 896
    Top = 136
  end
  object SiparisListeS: TDataSource
    DataSet = SiparisListe
    Left = 664
    Top = 144
  end
  object Stok: TADOQuery
    Connection = dm.connect
    CursorType = ctStatic
    Parameters = <
      item
        Name = 'grkod'
        Attributes = [paNullable]
        DataType = ftString
        NumericScale = 255
        Precision = 255
        Size = 20
        Value = Null
      end>
    SQL.Strings = (
      'select stokkod,stokkodu from stok'
      'where grup=:grkod'
      'order by stokkodu')
    Left = 776
    Top = 144
  end
  object modelds: TDataSource
    DataSet = Stok
    Left = 720
    Top = 144
  end
  object SiparisHar: TADOQuery
    Connection = dm.connect
    CursorType = ctStatic
    Parameters = <>
    Prepared = True
    SQL.Strings = (
      
        'select stokkodu=(select stokkodu from stok where stok.stokkod=un' +
        'ity_siparishar_2006.stokkod),'
      
        'cinsi=(select stokkodu from stok where stok.stokkod=unity_sipari' +
        'shar_2006.stokkod),'
      'miktar,durum,stoktanmiverilecek,'
      
        'emirno=(select aktarilanuremrino from unity_emirlistesi where un' +
        'ity_emirlistesi.siparisharid=unity_siparishar_2006.id)'
      ' from unity_siparishar_2006'
      'where siparisid=1')
    Left = 816
    Top = 16
  end
  object SiparisHarS: TDataSource
    DataSet = SiparisHar
    Left = 664
    Top = 96
  end
  object spodalar: TADOStoredProc
    Connection = dm.connect
    ProcedureName = 'sp_odalar;1'
    Parameters = <
      item
        Name = '@RETURN_VALUE'
        DataType = ftInteger
        Direction = pdReturnValue
        Precision = 10
        Value = Null
      end
      item
        Name = '@id'
        Attributes = [paNullable]
        DataType = ftInteger
        Precision = 10
        Value = Null
      end
      item
        Name = '@siparisid'
        Attributes = [paNullable]
        DataType = ftInteger
        Precision = 10
        Value = Null
      end
      item
        Name = '@siparisdurum'
        Attributes = [paNullable]
        DataType = ftString
        Size = 1
        Value = Null
      end
      item
        Name = '@durum'
        Attributes = [paNullable]
        DataType = ftString
        Size = 1
        Value = Null
      end
      item
        Name = '@oda'
        Attributes = [paNullable]
        DataType = ftSmallint
        Precision = 5
        Value = Null
      end
      item
        Name = '@stokkod'
        Attributes = [paNullable]
        DataType = ftInteger
        Precision = 10
        Value = Null
      end
      item
        Name = '@adet'
        Attributes = [paNullable]
        DataType = ftSmallint
        Precision = 5
        Value = Null
      end
      item
        Name = '@isletimsistemikod'
        Attributes = [paNullable]
        DataType = ftInteger
        Precision = 10
        Value = Null
      end
      item
        Name = '@aciklama'
        Attributes = [paNullable]
        DataType = ftString
        Size = 200
        Value = Null
      end
      item
        Name = '@siparisharid'
        Attributes = [paNullable]
        DataType = ftInteger
        Precision = 10
        Value = Null
      end
      item
        Name = '@acil'
        Attributes = [paNullable]
        DataType = ftBoolean
        Value = Null
      end
      item
        Name = '@standartdisi'
        Attributes = [paNullable]
        DataType = ftBoolean
        Value = Null
      end
      item
        Name = '@geciciuremriid'
        Attributes = [paNullable]
        DataType = ftInteger
        Precision = 10
        Value = Null
      end
      item
        Name = '@speakervarmi'
        Attributes = [paNullable]
        DataType = ftBoolean
        Value = Null
      end>
    Left = 824
    Top = 115
  end
  object ReceteAdiBul: TADOQuery
    Connection = dm.connect
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    Parameters = <
      item
        Name = 'stokkod'
        Attributes = [paSigned]
        DataType = ftInteger
        Precision = 10
        Size = 4
        Value = Null
      end>
    SQL.Strings = (
      
        'select stokkodu=(select stokkodu from stok where stok.stokkod=re' +
        'cetehar.stokkod) from recetehar where urunck='#39'C'#39'  and stokkod=:s' +
        'tokkod')
    Left = 816
    Top = 288
  end
  object Cari: TADOQuery
    Connection = dm.connect
    CursorType = ctStatic
    Parameters = <>
    SQL.Strings = (
      'select carikod,carikodu,firmaadi from Cari'
      'where aktif='#39'A'#39
      'order by firmaadi')
    Left = 816
    Top = 240
  end
  object CariS: TDataSource
    DataSet = Cari
    Left = 784
    Top = 240
  end
  object SiparisPopup: TPopupMenu
    Left = 248
    Top = 360
    object KaytBilgisi1: TMenuItem
      Caption = 'Kay'#305't Bilgisi'
      OnClick = KaytBilgisi1Click
    end
    object BeklemeNedeni1: TMenuItem
      Caption = 'Bekleme Nedeni'
      OnClick = BeklemeNedeni1Click
    end
    object SevkiyatDurumu1: TMenuItem
      Caption = 'Sevkiyat Durumu'
      OnClick = SevkiyatDurumu1Click
    end
    object N1: TMenuItem
      Caption = '-'
    end
    object Ara1: TMenuItem
      Caption = 'Bul'
      ShortCut = 32838
      OnClick = Ara1Click
    end
  end
  object SiparisHarPopup: TPopupMenu
    Left = 344
    Top = 160
    object MakineNumaralarnGster1: TMenuItem
      Caption = #220'retim Emri Durumu'
      OnClick = MakineNumaralarnGster1Click
    end
  end
  object UremriNoBulQ: TADOQuery
    Connection = dm.connect
    Parameters = <
      item
        Name = 'siparisharid'
        Size = -1
        Value = Null
      end>
    SQL.Strings = (
      
        'select aktarilanuremrino from unity_emirlistesi where siparishar' +
        'id=:siparisharid')
    Left = 187
    Top = 168
  end
  object Timer1: TTimer
    Interval = 600000
    OnTimer = Timer1Timer
    Left = 408
    Top = 360
  end
  object adoTemp: TADOQuery
    Connection = dm.connect
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    Parameters = <
      item
        Name = 'stokkod'
        Attributes = [paSigned]
        DataType = ftInteger
        Precision = 10
        Size = 4
        Value = Null
      end>
    SQL.Strings = (
      
        'select stokkodu=(select stokkodu from stok where stok.stokkod=re' +
        'cetehar.stokkod) from recetehar where urunck='#39'C'#39'  and stokkod=:s' +
        'tokkod')
    Left = 544
    Top = 336
  end
  object adoTemp2: TADOQuery
    Connection = dm.connect
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    Parameters = <
      item
        Name = 'stokkod'
        Attributes = [paSigned]
        DataType = ftInteger
        Precision = 10
        Size = 4
        Value = Null
      end>
    SQL.Strings = (
      
        'select stokkodu=(select stokkodu from stok where stok.stokkod=re' +
        'cetehar.stokkod) from recetehar where urunck='#39'C'#39'  and stokkod=:s' +
        'tokkod')
    Left = 552
    Top = 384
  end
  object adoStokGrup: TADOQuery
    Connection = dm.connect
    Parameters = <>
    SQL.Strings = (
      'select * from tbl_SilYazCari')
    Left = 218
    Top = 423
  end
  object adoCariGrup: TADOQuery
    Connection = dm.connect
    Parameters = <>
    SQL.Strings = (
      'select * from tbl_SilYazCari')
    Left = 290
    Top = 423
  end
  object MakinaGruplaQ: TADOQuery
    Connection = dm.connect
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    Parameters = <>
    Prepared = True
    SQL.Strings = (
      
        'select stokkodu,carikodu,null as miktar,null as gmiktar,Null As ' +
        'Verilen into #yeni from stok ,Cari'
      'where stokkod is null and Carikod is null'
      ''
      'select * from #yeni'
      'order by stokkodu'
      ''
      'drop table #yeni')
    Left = 378
    Top = 423
  end
  object SiparisHarx: TADOQuery
    Connection = dm.connect
    CursorType = ctStatic
    Parameters = <>
    Prepared = True
    Left = 456
    Top = 421
  end
  object MakinaGruplaQS: TDataSource
    DataSet = MakinaGruplaQ
    Left = 376
    Top = 477
  end
  object adoTur: TADOQuery
    Connection = dm.connect
    CursorType = ctStatic
    Parameters = <>
    SQL.Strings = (
      'select * from TblSiparisTur order by sira')
    Left = 817
    Top = 355
  end
end
